package com.realworld.mapper;

import com.realworld.model.pojo.Article;

import java.util.List;

public interface ArticleMapper {
    List<Article> getArticleList(Article article);
    List<Article> getArticleInfoList(Integer uid);
    Article getArticleInfo(Integer id);
    int addArticle(Article article);
    int updateArticle(Article article);
    int deleteArticle(String uid,Integer artId);
    List<Article> getTags();
}